﻿$(function () {
    $("#date-start").datepicker({clickinput:true});
});
$(function () {
    $("#date-end").datepicker();
});

function showDialog(id) {
    $("#" + id).css('display', 'block');
}

function hideDialog(id) {
    $("#" + id).css('display', 'none');
}

$(document).ready(function () {

    $('#dialog-list-source ul li a').click(function () {
        //$('#source').val();
        hideDialog('location-source');
    });

    $('#dialog-list-destination ul li a').click(function () {
        hideDialog('location-destination');
    });
});

function showdatepicker() {
    alert("dfdf");
}